Total Complexity | 97 |
Dependencies | 3 |
Dependents | 4 |
Total lines | 610 |
Lines of code | 471 |
Logical lines of code | 250 |
Comment lines | 22 |
Methods | 12 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_attachment() | 32 | 22 | 106 | |
load_external_image() | 32 | 20 | 106 | |
create_attachment_from_data() | 45 | 10 | 38 | |
_choose_image_size_from_aliexpress() | 56 | 10 | 18 | |
create_attachment_from_file() | 44 | 8 | 45 | |
find_external_images() | 46 | 8 | 39 | |
set_attachment_metadata() | 42 | 4 | 52 | |
download_url() | 53 | 6 | 21 | |
find_products_with_external_images() | 56 | 2 | 18 | |
__construct() | 66 | 3 | 8 | |
mime2ext() | 63 | 3 | 10 | |
calc_total_external_images() | 63 | 1 | 10 |